package com.fumin.beans;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Set;

/**
* @Description:   邮件的属性类
* @Author:         xiayuxuanmin
* @CreateDate:     2019/10/28 0:20
* @Version:        1.0
*/
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Mail {

    //邮件的主题
    private String subject;

    //邮件的内容,可以是html格式的
    private String message;

    //收件人的邮箱,可以为多个
    private Set<String> receivers;
}
